﻿<head>
	<meta charset="utf-8">
	<script src="../js/jquery-3.2.1.min.js"></script>
		<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
	<link rel="stylesheet" href="../css/bootstrap.min.css" >	
	<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
	<script src="../js/bootstrap.min.js" ></script>
	<link rel="stylesheet" type="text/css" href="../css/index.css">
	<title>修改问题</title>
</head>

<!-- 网站的头部公用部分 -->
	<div style="height: 60px;">
	<nav class="navbar navbar-default navbar-fixed-top top" >
		<a href="../"><img class="top_left" src="../images/log.png"></a>
		<div class="pull-right" style="margin-top: 15px;margin-right: 20px;">
			<a href="http://www.xinli001.com/ceshi">关于心理测试</a>
		</div>
		</nav>
	</div><br/><br/>
<h1>修改成功</h1>
<?php

$foodID2 = $foodID;
mysql_connect("localhost","root","root");
mysql_query("set names utf8");

$query="UPDATE question SET questionPart = '$questionPart', answerA = '$answerA',answerB ='$answerB',answerC ='$answerC',answerD ='$answerD' WHERE questionID = '$questionID' ";
$result = mysql_db_query("psychology","$query");

?>
<a href="edit.php">返回管理页</a>
<!-- 版权 -->
	<nav>
		<div  style="text-align:center" class="navbar navbar-default navbar-fixed-bottom" role="navigation">
			<hr>
			<font>©2018 chenshuwei AND yangliu.<br/>All Rights Reserved.<br/>
			电话：0991-123456</font>
		</div>
	</nav>